package com.evan.design.principle.dependenceinversion.refactor;

/**
 * @author :liujiapeng01
 * @date :2019-03-20 19:47
 **/
public class Test {


    public static void main(String[] args) {
        Evan evan = new Evan();

        evan.setCourse(new JavaCourse());
        evan.studyCourse();
        evan.setCourse(new FeCourse());
        evan.studyCourse();
    }
}
